package com.cutePet.pet.dao;

import com.cutePet.pet.domain.PetFileDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author charley
 * @email www.linqiaoli.com@qq.com
 * @date 2019-09-19 14:14:48
 */
@Mapper
public interface PetFileDao {

	PetFileDO get(Long fileId);
	
	List<PetFileDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(PetFileDO petFile);
	
	int update(PetFileDO petFile);
	
	int remove(Long file_id);
	
	int batchRemove(Long[] fileIds);
}
